<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>人员列表</title>
</head>
<body>
<a href="/user/toAdd"> 添加用户</a>
<table border="1">
    <thead>
    <tr>
        <th>登录名</th>
        <th>密码</th>
        <th>用户名称</th>
        <th>用户电话</th>
        <th>分配角色</th>
    </tr>
    </thead>
    <tbody>
    <#list  list as item>
    <tr>
        <td>${item.loginName!}</td>
        <td>${item.password!}</td>
        <td>${item.name!}</td>
        <td>${item.phone!}</td>
        <td><a href="/user/editUserRole?userId=${item.id}">分配角色</a>
        </td>
    </tr>
    </#list>
    </tbody>
</table>

<br/>
<a href="/index"> 首页</a>
</body>
</html>